<?php
namespace Home\Controller;
use Common\Controller\CommonController;

class formController extends CommonController {
	
	
	function seme(){
		$seme=M('Seme');
		$keyword=I('key');
		if(!empty($keyword)){
			$where= array('phone'=>$keyword);
		}
		 
		$Count=$seme->where($where)->count();
		$Page = new \Think\Pager($Count,10);
		$show=$Page->showhtml(); 
		$list=M('Seme')->where($where)->limit($Page->firstRow.",".$Page->firstRow)->order('ctime desc')->select();	
		$this->assign('page',$show);
		$this->assign('list',$list);
		$this->display();
	}
	

}